<?
/* int */ $i = 1; /* int */ $j = 2;

switch(5 * $i) {
   case 1:
      ?>5*1=1 ?!<?
      break;
   case 2: // unlike php, java requires constants in case statement (TODO: make negative test)
      ?>5*1=2<?
      break;
   case 5:
      ?>5*1=5 ok<?
      break;
   default:
      ?>5*1!=5 ?!<?
}
?>

Break test 1

<?
do {
   do /* ala : */  {
      switch($i) {
         case 1:
            break 2 /* ala */ ;
      }
      ?> Don't print it. <?
   } while(false) /* : ala */;
   ?> Print it. <?
} while(false);
?>

Break test 2

<?
do /* ela : */   {
   do {
      do /* ala : */  {
         switch($i) {
            case 1:
               break 4 /* ela */ ;
         }
         ?> Don't print it. <?
      } while(false) /* : ala */;
      ?> Don't print it. <?
   } while(false);
} while(false) /* : ela */;
?>

Break test 3

<?
do /* ela : */   {
   do {
      do /* ala : */  {
         switch($i) {
            case 1:
               break;
         }
         ?> Print it. <?
      } while(false) /* : ala */;
      ?> Print it. <?
   } while(false);
} while(false) /* : ela */;
?>

Continue test 1

<?
do {
   switch($i) {
      case 1:
         continue 2;
   }
   ?> Don't print it. <?
} while(false);
?>

